﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YwhLib
{
    /// <summary>
    /// 财务收支
    /// </summary>
    public class Expenditure
    {
        /// <summary>
        /// 记录id
        /// </summary>
        [FreeSql.DataAnnotations.Column(IsIdentity = true, IsPrimary = true)]
        public int ExpenditureId { get; set; }

        /// <summary>
        /// 是否收入
        /// </summary>
        public bool IsIncome { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        public double Amount { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }

        /// <summary>
        /// 发生时刻
        /// </summary>
        public DateTime Point { get; set; }

        /// <summary>
        /// 人员
        /// </summary>
        public string Person { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
    }
}